package com.gt.web.srv.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 活动列表
 * @TableName biz_people_activity
 */
@TableName(value ="biz_people_activity")
@Data
public class PeopleActivity extends BaseAuto {
    /**
     * 活动ID
     */
    @TableId(value = "people_activity_id", type = IdType.AUTO)
    private Long peopleActivityId;

    @TableField(value = "activity_id")
    private Long activityId;

    /**
     * 活动标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 参与人姓名
     */
    @TableField(value = "people_name")
    private String peopleName;

    /**
     * 参与人Id
     */
    @TableField(value = "people_id")
    private Long peopleId;

    /**
     * 审核人名称
     */
    @TableField(value = "audit_people_name")
    private String auditPeopleName;

    /**
     * 审核人ID
     */
    @TableField(value = "audit_people")
    private Long auditPeople;

    /**
     * 所属类目
     */
    @TableField(value = "column_id")
    private Long columnId;
    private String columnName;

    /**
     * 社区
     */
    @TableField(value = "community_id")
    private Long communityId;
    @TableField(value = "community_name")
    private String communityName;

    @TableField(value = "grid_id")
    private Integer gridId;


    // /**
    //  * 活动内容
    //  */
    // @TableField(value = "content")
    // private String content;

    /**
     * 活动图片
     */
    @TableField(value = "img_url")
    private String imgUrl;

    /**
     * 参与人数
     */
    @TableField(value = "partake")
    private Integer partake;

    /**
     * 参与活动活动积分
     */
    @TableField(value = "score")
    private Integer score;

    /**
     * 审核状态 0:待审核，1：已审核
     */
    @TableField(value = "audit")
    private Integer audit;

    /**
     * 状态（0正常 1停用）
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 活动地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 类型：0:线上，1：线下
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 审核时间
     */
    @TableField(value = "audit_time")
    private LocalDateTime auditTime;

    /**
     * 申请时间
     */
    @TableField(value = "apply_time")
    private LocalDateTime applyTime;

    /**
     * 有效期:开始
     */
    @TableField(value = "expire_start")
    private LocalDateTime expireStart;

    /**
     * 有效期结束
     */
    @TableField(value = "expire_end")
    private LocalDateTime expireEnd;

    @TableField(value = "imgs")
    private String imgs;
    private String suggest;
    /**
     * 拒绝原因
     */
    private String refuseReason;
    /**
     * 签到时间
     */
    @TableField(value = "sign_time")
    private LocalDateTime signTime;
    /**
     * 签到人
     */
    private Long signPeopleId;
    /**
     * 签到人
     */
    private String signPeopleName;
}